WeDevs\ERP\Accounting\API\Invoices_Controller A

Total Complexity 55
Dependencies 3
Dependents 0
Total lines 717
Lines of code 512
Logical lines of code 207
Comment lines 100
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
A
46 14 44
get_item_schema()
A
34 1 137
upload_attachments()
A
51 8 24
get_invoices()
S
48 6 33
due_invoices()
S
48 6 30
register_routes()
S
38 1 104
add_log()
S
51 6 25
update_invoice()
S
45 4 40
create_invoice()
S
49 3 32
get_invoice()
S
53 2 23
void_invoice()
S
65 2 8
get_overview_receivables()
S
71 1 6
prepare_item_for_response()
S
70 1 6